package me.haoliang

import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.{ComponentScan, ImportResource}


/**
  * author: planck 
  * createTime: 2016/10/18.
  */

@SpringBootApplication
@ImportResource(Array("classpath*:spring/spring-*.xml"))
@ComponentScan(Array("me.haoliang"))
class Application {
}

object Application {
  def main(args: Array[String]): Unit = {
    SpringApplication.run(classOf[Application], args: _*)
  }
}
